package chapter1;

import java.util.*;

public class ScanPrintInfo {
	public static void main(String[] args) {
		// 接收用户的输入
		Scanner input = new Scanner(System.in);
		System.out.print("请输入你的姓名:");
		String name = input.next();
		System.out.print("请输入你的号码:");
		int num = input.nextInt();
		// 控制台输入信息
		System.out.println("张三您好!您的等待号码为" + num);
	}

}
